<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var name = '张三丰'
        var user = {
            name:'张三丰',
            age:666,
            say:function(){
                console.log('我叫${this.name},我今年${this.age}岁了');
            }
        }
        user.say
        // es6
        var name = '李世民'
        var num = 777
        var name = '王德法'
        var user2 = {  
            name,
            age: num,
        }
    </script>
</body>
</html>